<extend name="Public/main" />

<block name="body">
	<div class="wrap J_check_wrap">
		<div class="nav">
			<ul class="cc">
				<li class="current"><a href="{:U('Recipients/teacher')}">老师列表</a></li>
				<li><a href="{:U('Recipients/addeteacher')}">添加老师</a></li>
			</ul>
		</div>
		<form class="J_ajaxForm" action="{:U('Menu/listorders')}" method="post">
			<div class="table_list">
				<table width="100%">
					
					<thead>
						<tr>
							<td>ID</td>
							<td>名称</td>
							<td>电话</td>
							<td>所属学校</td>
							<td>管理操作</td>
						</tr>
					</thead>
					<tbody>
					<?php foreach ($teacher as $key => $v): ?>
						<tr>
							
							<td>{$v.id}</td>
							<td>{$v.name}</td>
							<td>{$v.phone}</td>
							<td>{$v.school}</td>
							<td><a href="{:U('Recipients/addeteacher',array('id'=>$v['id']))}" class="btn">修改</a> 
							
							<a href="" class="btn btn_error">删除</a></td>
						</tr>
						
					<?php endforeach ?>
						
					</tbody>
				</table>
				<div class="p10"><div class="pages"> {$Page} </div> </div>

			</div>
			<div class="btn_wrap">
				<div class="btn_wrap_pd">             
					<button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">排序</button>
				</div>
			</div>
		</form>
	</div>
</block>